<?php if (!defined('THINK_PATH')) exit();?><!--Header-->
<header class="navbar">
    <div class="navbar-inner">
        <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <a id="logo" class="pull-left" href="<?php echo U('/');?>">
                <img src="/php_now/djcms/Public/share/img/logo-png.png" alt="" title=""/>

                <!--GreenCMS-->
            </a>

            <div class="nav-collapse collapse pull-right">
                <ul class="nav">
                    <?php if(is_array($home_menu)): $i = 0; $__LIST__ = $home_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu_item): $mod = ($i % 2 );++$i; if($menu_item['menu_children'] == null): ?><li><a href="<?php echo ($menu_item['menu_abs_url']); ?>"><?php echo ($menu_item['menu_name']); ?></a></li>

                            <?php else: ?>
                            <li class="dropdown">
                                <a href="<?php echo ($menu_item['menu_abs_url']); ?>" class="dropdown-toggle" data-toggle="dropdown">
                                    <?php echo ($menu_item['menu_name']); ?> <i class="icon-angle-down"></i></a>
                                <ul class="dropdown-menu">

                                    <?php if(is_array($menu_item['menu_children'])): $i = 0; $__LIST__ = $menu_item['menu_children'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu_item_l2): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($menu_item_l2['menu_abs_url']); ?>"><?php echo ($menu_item_l2['menu_name']); ?></a>
                                        </li><?php endforeach; endif; endif; ?>

                                </ul>
                            </li><?php endif; endforeach; endif; endif; ?>


                </ul>


            </div>
            <!--/.nav-collapse -->
        </div>
    </div>
</header>
<!-- /header -->